import request from '@/utils/request'

const baseUrl = '/admin/api/v1/dashboard'

/**
 * 获取Dashboard统计数据
 */
export const getDashboardStats = () => {
  return request.get(`${baseUrl}/stats`)
}

/**
 * 获取趋势数据
 */
export const getDashboardTrends = () => {
  return request.get(`${baseUrl}/trends`)
}

